package webmanage

import (
	"context"
	webmanage2 "phm/internal/biz/webmanage"

	pb "phm/api/phm/v1/webmanage"
)

type RoleService struct {
	pb.UnimplementedRoleServer
	role *webmanage2.SysRoleUseCase
}

func NewRoleService(role *webmanage2.SysRoleUseCase) *RoleService {
	return &RoleService{
		role: role,
	}
}

func (s *RoleService) GetRoleList(ctx context.Context, req *pb.GetRoleListRequest) (*pb.GetRoleListReply, error) {
	return &pb.GetRoleListReply{}, nil
}
func (s *RoleService) UpdateRole(ctx context.Context, req *pb.UpdateRoleRequest) (*pb.UpdateRoleReply, error) {
	return &pb.UpdateRoleReply{}, nil
}
func (s *RoleService) CreateRole(ctx context.Context, req *pb.CreateRoleRequest) (*pb.CreateRoleReply, error) {
	return &pb.CreateRoleReply{}, nil
}
func (s *RoleService) DeleteRole(ctx context.Context, req *pb.DeleteRoleRequest) (*pb.DeleteRoleReply, error) {
	return &pb.DeleteRoleReply{}, nil
}

func (s *RoleService) DeleteRoleByIds(ctx context.Context, req *pb.RoIdsReq) (*pb.DeleteRoleReply, error) {
	return &pb.DeleteRoleReply{}, nil
}
func (s *RoleService) QueryPermissions2Role(ctx context.Context, req *pb.Permissions2RoleRequest) (*pb.Permissions2RoleReply, error) {
	return &pb.Permissions2RoleReply{}, nil
}
func (s *RoleService) CreatePermission2Role(ctx context.Context, req *pb.CreatePermission2RoleRequest) (*pb.CreatePermission2RoleReply, error) {
	return &pb.CreatePermission2RoleReply{}, nil
}
func (s *RoleService) TreeRolePermissions(ctx context.Context, req *pb.TreeRolePermissionsRequest) (*pb.TreeRolePermissionsReply, error) {
	return &pb.TreeRolePermissionsReply{}, nil
}
func (s *RoleService) TreeRolesPermissions(ctx context.Context, req *pb.TreeRolesPermissionsRequest) (*pb.TreeRolesPermissionsReply, error) {
	return &pb.TreeRolesPermissionsReply{}, nil
}
